package App.Model.Task;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import java.util.Date;

/**
 * Created by xw on 2018/11/20.
 */

@Entity
public class CrmTask {

    @Column(name = "recid")
    @Id
    private String recid;

    @Column(name = "recname")
    private String recname;

    @Column(name = "begintime")
    private Date begintime;

    @Column(name = "content")
    private String content;

    @Column(name = "contenttype")
    private int  contenttype;

    @Column(name = "address_name")
    private String addressname;

    @Column(name = "address_location")
    private String location;

    @Column(name = "taskstatus")
    private int taskstatus;

    @Column(name = "completetime")
    private Date completetime;

    public String getRecid() {
        return recid;
    }

    public void setRecid(String recid) {
        this.recid = recid;
    }

    public String getRecname() {
        return recname;
    }

    public void setRecname(String recname) {
        this.recname = recname;
    }

    public Date getBegintime() {
        return begintime;
    }

    public void setBegintime(Date begintime) {
        this.begintime = begintime;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public int getContenttype() {
        return contenttype;
    }

    public void setContenttype(int contenttype) {
        this.contenttype = contenttype;
    }

    public String getAddressname() {
        return addressname;
    }

    public void setAddressname(String addressname) {
        this.addressname = addressname;
    }

    public String getLocation() {
        return location;
    }

    public void setLocation(String location) {
        this.location = location;
    }

    public int getTaskstatus() {
        return taskstatus;
    }

    public void setTaskstatus(int taskstatus) {
        this.taskstatus = taskstatus;
    }

    public Date getCompletetime() {
        return completetime;
    }

    public void setCompletetime(Date completetime) {
        this.completetime = completetime;
    }

}
